package com.chat.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chat.admin.domain.DTO.UserAppealDTO;
import com.chat.admin.domain.VO.UserAppealVO;
import com.chat.common.entity.UserAppeal;
import com.chat.common.form.ListForm;

public interface IUserAppealService extends IService<UserAppeal> {
    /**
     * 获取全部的申请理由
     * @return
     */
    ListForm<UserAppealVO> getUserApplication(UserAppealDTO userAppealDTO);

    /**
     * 根据id获取用户申请
     * @param ID
     * @return
     */
    UserAppeal getUserAppeal(String ID);

    /**
     * 拒绝用户申请
     * @param ID
     */
    Boolean refuseUserAppeal(String ID);

    /**
     * 同意用户申请
     * @param ID
     */
    Boolean agreeUserAppeal(String ID);
}
